@layout("/common/_container.html",{plugins:["ztree"],js:["/assets/modular/system/btyBxd/btyBxdZc.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">通知管理</span>
</div>
<style>
    .bxbtn{
        margin-bottom: 10px;
    }
</style>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item" style="margin-left: -28px">
                            <div class="layui-inline">
                                <label class="layui-form-label label-title" style="color: #00B83F;">店名</label>
                                <div class="layui-input-block label-block">
                                    <select name="btyBxdaId" lay-filter="dm" id="btyBxdaId" lay-search="">
                                        <option value=''>全部</option>
                                    </select>
                                </div>
                            </div>
<!--                            <div class="layui-inline">-->
<!--                                <label class="layui-form-label label-title" style="color: #00B83F;">报销人</label>-->
<!--                                <div class="layui-input-block label-block">-->
<!--                                    <select name="btyBxdaId" lay-filter="btyBxdaId" id="btyBxdaId" lay-search="">-->
<!--                                        <option value=''>全部</option>-->
<!--                                    </select>-->
<!--                                </div>-->
<!--                            </div>-->

                            <div class="layui-inline">
                                <label class="layui-form-label label-title" style="color: #00B83F;">支出金额</label>
                                <div class="layui-input-block label-block">
                                    <input id="zcje" class="layui-input" type="number" placeholder="请输入支出金额"/>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label label-title" style="color: #00B83F;">摘要</label>
                                <div class="layui-input-block label-block">
<!--                                    <input id="zy" class="layui-input" type="text" placeholder="请输入摘要"/>-->
                                    <select name="zyid" lay-filter="zy" id="zy" lay-search="">-->
                                        <option value=''>全部</option>
                                    </select>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label label-title" style="color: #00B83F;">备注</label>
                                <div class="layui-input-block label-block">
                                    <input id="bz" class="layui-input" type="text" placeholder="请输入备注"/>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label label-title">编号</label>
                                <div class="layui-input-block label-block">
                                    <input id="bh" class="layui-input" lay-filter="bh" type="text" autocomplete="off"
                                           placeholder="报销单编号"/>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label label-title">创建时间</label>
                                <div class="layui-input-block label-block">
                                    <input id="timeLimit" class="layui-input" type="text" autocomplete="off"
                                           placeholder="创建时间"/>
                                </div>
                            </div>
<!--                            <div class="layui-inline ">-->
<!--                                <label class="layui-form-label label-title">会计</label>-->
<!--                                <div class="layui-input-block label-block">-->
<!--                                    <select id="kj" name="kj" lay-filter="kj" lay-search="">-->
<!--                                        <option value="">全部</option>-->
<!--                                    </select>-->
<!--                                </div>-->
<!--                            </div>-->

<!--                            <div class="layui-inline">-->
<!--                                <label class="layui-form-label label-title">打款状态</label>-->
<!--                                <div class="layui-input-block label-block ">-->
<!--                                    <select id="flag" name="flag" lay-filter="flag" lay-search="">-->
<!--                                        <option value="">全部</option>-->
<!--                                        <option value="0">未打款</option>-->
<!--                                        <option value="1">已打款</option>-->
<!--                                    </select>-->
<!--                                </div>-->
<!--                            </div>-->
                            <div class="layui-inline">
                                <label class="layui-form-label label-title">审核状态</label>
                                <div class="layui-input-block label-block">
                                    <select id="status" name="status" lay-filter="status" lay-search="">
                                        <option value="">全部</option>
                                        <option value="0">未审核</option>
                                        <option value="1">会计已审核</option>
                                        <option value="9">出纳已打款</option>
                                    </select>
                                </div>
                            </div>
                            <div class="layui-inline" style="text-align: center;margin-left: 23px;padding-top: 16px;">
                                <button id="btnSearch" class="layui-btn icon-btn bxbtn" style="width: 76px;height: 38px">搜索
                                </button>
                                <button id="btnOne" class="layui-btn icon-btn bxbtn" style="width: 76px;height: 38px;margin-left: 10px">添加
                                </button>
                                @if(shiro.hasPermission("/btyWage/confirmOk")){
                                <button id="btnOk" class="layui-btn icon-btn bxbtn">同意报销
                                </button>
                                @}
                                @if(shiro.hasPermission("/btyBxd/confirmFalse")){
                                <button id="btnFalse" class="layui-btn icon-btn bxbtn" style="width: 76px;height: 38px">驳回
                                </button>
                                @}
                                <button id="btnExp" class="layui-btn icon-btn bxbtn" style="width: 76px;height: 38px">导出
                                @if(shiro.hasPermission("/btyWage/add")){
                                <button id="btnAdd" class="layui-btn icon-btn" style="margin-bottom: 10px;">批量添加
                                </button>
                                @}
                                </button>

                            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="noticeTable" lay-filter="noticeTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="tableBar">
    {{#  if(d.status == "-1" || d.status == "0"){ }}
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
    {{#  } }}

<!--    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>-->
</script>
<script id="statusTpl2" type="text/html">
    {{#  if(d.status == "-1"){ }}
    被打回
    {{#  }else if(d.status == "0"){ }}
    待审批
    {{#  }else if(d.status == "1"){ }}
    会计已审核
    {{#  }else if(d.status == "9"){ }}
    出纳审核
    {{#  } }}
</script>
@}